<%--
  Created by IntelliJ IDEA.
  User: Jiawei
  Date: 2018/4/21
  Time: 23:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh-CN">

<%--头部内容--%>
<jsp:include page="common/head.jsp"/>

<body>
<%--顶部导航--%>
<jsp:include page="common/nav_top.jsp" />

<div class="container-fluid">
    <div class="row">
        <%--左侧导航部分--%>
        <jsp:include page="common/nav_left.jsp" />

        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <h2 class="page-header">百度贴吧实时热议Top20</h2>

            <!-- <h2 class="sub-header">Section title</h2>-->
            <div class="table-responsive">
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th style="width: 25%;">标题</th>
                        <th style="width: 15%;">热度</th>
                        <th style="width: 20%;">概要</th>
                        <th>采集时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    <c:forEach items="${list}" var="hot" varStatus="status">
                        <tr>
                            <td>${hot.title}</td>
                            <td><b>${hot.topic_num}W</b></td>
                            <%--<a href="${hot.url}" target="_blank">${hot.describes}</a>--%>
                            <td><a href="${hot.url}" target="_blank">${hot.describes}</a></td>
                            <td>${hot.ymdh_time}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>

<%--底部核心js--%>
<jsp:include page="common/bottom.jsp" />
</body>
</html>
